package com.sftz.assets.entities;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("institution_courses")
public class InstitutionCoursesEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("课程id")
	private Integer courseId;

	@Column
	@Comment("学分")
	private float score;

	@Column
	@Comment("机构id")
	private Integer institutionId;

	@Column
	@Comment("一期课程id")
	private Integer orgCourseId;

	@Column
	@Comment("机构课程类型（1学历课程，2非学历课程）")
	private Integer insCourseType;

	@Column
	@Comment("最低合格分数")
	private Integer passScore;

	@Column
	@Comment("课程类型（1学期，2随到随学）")
	private Integer courseAttr;

	@Column
	@Comment("有效时间开始")
	private Date effectiveStart;

	@Column
	@Comment("有效时间截止")
	private Date effectiveEnd;

	@Column
	@Comment("报名时间开始")
	private Date enrollStart;

	@Column
	@Comment("报名时间截止")
	private Date enrollEnd;

}
